package com.platform.qujia.service;

import com.platform.qujia.pojo.CalPresentAmt;
import com.platform.qujia.pojo.CustomerCardSettingDetail;
import com.platform.qujia.pojo.PresentAmountRecord;
import com.platform.qujia.pojo.vo.RechargePrivilegeVO;

import java.math.BigDecimal;
import java.util.List;

public interface CustomerCardSettingDetailService {

    CalPresentAmt calConsumePresentAmtAndCreateRecord(String orderNo,String mobilePhone,BigDecimal receivableAmt,BigDecimal amt, Long enterpriseId, Long stationId,String payType,String cardOilsType,String gunName,Integer oilId,String bussinessName,String purpose);
    PresentAmountRecord createRecord(BigDecimal presentAmt, String bussinessName, String mobilePhone, String orderNo, String purpose, Long cecId, Long ccsdId);
    boolean checkEffectiveTime(CustomerCardSettingDetail cardDetail);

    List<RechargePrivilegeVO> getStationRechargePrivilegeList(Long stationId,String cardType);
}
